//===============================================================================
//	CNoticeCommon
//	通用通知
//===============================================================================

#pragma once

#include "BaseMessage.h"
#include "NoticeCommon.h"


class CNoticeCommon
	: public BaseMessage
{
public:
	CNoticeCommon(uint32_t uid, uint32_t pn);
	~CNoticeCommon();

public:
	//---------------------------------------------------------------------------
	static BaseMessage* Create(uint32_t uid, uint32_t pn)
	{ 
		return new CNoticeCommon(uid, pn);
	}

public:
	//---------------------------------------------------------------------------
	virtual void HandleMessage(Player* pplayer) override final
	{}

public:
	//---------------------------------------------------------------------------
	void SetNoticeCommonData(NoticeCommon& noticeData);
};